how to call action from another module vuex

106

how to call action from another module vuex -

// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })

Comments

Submit
0 Comments